﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IcarusProject.MazeGen
{
    public class Cell
    {
        #region Attributs
        private int _groupID;
        private bool _rightWall;
        private bool _bottomWall;
        #endregion

        #region Constructeur
        public Cell(int id)
        {
            _rightWall = true;
            _bottomWall = true;
            _groupID = id;
        }
        #endregion

        #region Proprietes
        public bool RightWall
        {
            get { return _rightWall; }
        }

        public bool BottomWall
        {
            get { return _bottomWall; }
        }
        public int ID
        {
            get { return _groupID; }
            set { _groupID = value; }
        }
        #endregion

        #region Methodes
        public void DeleteRightWall()
        {
            _rightWall = false;
        }

        public void DeleteBottomWall()
        {
            _bottomWall = false;
        }
        #endregion
    }
}
